package com.parsechina.hpush.broker.spi;

/**
 * username and password checker
 *
 * @author linfeng
 */
public interface IAuthenticator {

    /**
     * 验证用户名密码
     * @param clientId
     * @param username
     * @param password
     * @return
     */
    boolean checkValid(String clientId, String username, String password);

}
